
import { Request } from "./request";

// 启动页与图片轮播数据

module.exports.Banner = () => Request({
  url: "/banner/list",
  method: "get"
})
//商品类别数据
module.exports.category = () => Request({
  url:'/shop/goods/category/all',
  methods:'get'
})
//商品列表
module.exports.priList = () => Request({
  url:'/shop/goods/list',
  methods:'post'
})
//商品详情
module.exports.partiList = (id) => Request({
  url:`/shop/goods/detail?id=${id}`,
  params:id,
  methods:'get'
})
